<?php 

namespace pmvc\mvc\security\facebook;

use pmvc\mvc\security\User;

class BasicFacebookUser
	implements User {

	private $user;
	private $roles;

	public function __construct($facebookUser, $roles) {
    	$this->user 	= $facebookUser;
    	$this->roles	= $roles;
    }

	public function getId() {
		return $this->user->id;
	}

	public function getUser() {
		return $this->user;
	}

	public function getRoles() {
		return $this->roles;
	}

}

?>